{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf\n",
      "/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf\n",
      "/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf\n",
      "/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf\n",
      "/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf\n",
      "/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf\n"
     ]
    }
   ],
   "source": [
    "import matplotlib.font_manager as fm\n",
    "\n",
    "# 列出所有可用的字体\n",
    "font_list = fm.findSystemFonts(fontpaths=None)\n",
    "for font in font_list:\n",
    "    print(font)"
   ]
  }
 ],
 "metadata": {
  "language_info": {
   "name": "python"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
